Migrating From Dark Basic V1

For those users who are moving their project over to Dark Basic Professional, or have upgraded and want to get up and running as quickly as possible, the following tips may help your transition.

Command Line Interface

The CLI is now part of the Debugger and can be located by clicking the Debug Mode Button in the main editor. You will find many of the reasons for having a CLI have been replaced with more powerful Variable Watcher and Program Watcher tools.

Desktop Full screen

Be aware that running as DESKTOP and DESKTOPFULL means the application runs in windows mode stretched to the size of the desktop. You still have the option for full screen exclusive mode, as well as hidden mode and standard window mode. Be aware some older cards incur a performance penalty when stretching the contents of a window using the desktop rendering modes.

Obsolete Commands

Approximately thirty commands have been discontinued from the language. There are various reasons for this, mainly to ensure that the language takes advantage of the best methods of achieving the results you desire. A detailed list follows.

Four BASIC3D commands have been removed, found to be redundant in the latest implementation of the language:

3DS2X
ENABLE TNL
DISABLE TNL
SET MIPMAP MODE
Five BASIC3D animation commands have been removed, to make way for future enhancements providing much better support for all types of 3D object animation:

APPEND OBJECT ANIMATION
CLEAR ALL OBJECT KEYFRAMES
CLEAR OBJECT KEYFRAME
SAVE OBJECT ANIMATION
SET OBJECT KEYFRAME
Some BASIC3D static object commands have been removed:

DISABLE STATIC OCCLUSION
ENABLE STATIC OCCLUSION
SET STATIC OBJECTS TEXTURE
One BITMAP command has been removed, to make way for future enhancements providing much better support for all types of media exporting:

SAVE BITMAP
Three DISPLAY commands have been removed, due to redundancy:

EMULATION MODE
SET EMULATION OFF
SET EMULATION ON
An IMAGE command has been removed, due to redundancy:

ROTATE IMAGE
Two MULTIPLAYER commands have been removed, due to redundancy:

ALWAYS ACTIVE OFF
ALWAYS ACTIVE ON
One SOUND command has been removed, to make way for future enhancements providing much more control over Environmental Audio Effects using the very latest technology:

SET EAX

GO TO THE NEXT PAGE